﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Character_Creator
{
    public partial class HumanAttributeSelector : Form
    {
        private string chosenAttribute;
        private string humanText = "You are creating a character with human lineage.";

        public string ChosenAbility
        {
            get { return chosenAttribute; }
            private set { chosenAttribute = value; }
        }

        public HumanAttributeSelector()
        {
            InitializeComponent();

            HumanSelectorTextBox.Text = humanText;
            HumanSelectorTextBox.Text += (System.Environment.NewLine + "Please choose an ability score to increase by 2.");

            chosenAttribute = null;
            this.StartPosition = FormStartPosition.CenterParent;
        }

        private void HumanSelectorAttributeForm_AcceptAbilityClicked(object sender, EventArgs e)
        {
            ChosenAbility = (string)HumanSelectorComboBox.Items[HumanSelectorComboBox.SelectedIndex];
        }


    }
}
